package mason.dp.abstractfactory.store;

import mason.dp.abstractfactory.computer.Computer;

/**
 * 电脑商店的抽象类
 * 
 * @author MasonAir
 *
 */
public abstract class ITStore {
	public Computer orderComputer(String type) {
		Computer computer;
		computer = createComputer(type);
		computer.prepare();
		return computer;
	}

	abstract Computer createComputer(String type);
}
